package top.dingyingying.springboot3.service.Message;

import top.dingyingying.springboot3.base.PageBean;
import top.dingyingying.springboot3.base.R;
import top.dingyingying.springboot3.message.TbMessage;
import top.dingyingying.springboot3.vo.PageVo;

public interface TbMessageService {
    R<String> insert(TbMessage tbMessage);

    R<PageVo<TbMessage>> query(TbMessage tbMessage, PageBean pageBean);

    R<String> delete(Integer id);

    R<String> update(TbMessage tbMessage);

    R<TbMessage> queryById(Integer id);
}
